Skip to content

add docusaurus-plugin-copy-page-button#1132

Open
portdeveloper wants to merge 2 commits into
Uniswap:mainfrom
portdeveloper:add-copy-page-button
Open

add docusaurus-plugin-copy-page-button#1132
portdeveloper wants to merge 2 commits into
Uniswap:mainfrom
portdeveloper:add-copy-page-button

Conversation

@portdeveloper
Copy link
Copy Markdown

adds docusaurus-plugin-copy-page-button — a "Copy page" button in the docs sidebar that exports the current page as clean markdown, with one-click "Open in ChatGPT / Claude / Gemini" actions.

useful for the contracts/SDK pages especially — when someone's on, say, a v4 hooks page or a SwapRouter reference and wants to ask claude "rewrite this for my use case", they can grab the page markdown in one click rather than copy/pasting around the page chrome.

complementary to docusaurus-plugin-llms that's already in here — llms.txt covers full-site discovery for AI tools, this covers per-page handoff for a human reader who wants to drop a single page into a chat. theme-aware, mobile friendly, auto-injects into the TOC sidebar, no config required.

already running on Arbitrum docs (similar docusaurus + ai-tooling setup) and ~12 other sites including Ethereum execution-apis, Sui, Monad, Flare, Kaia, Cardano. listed in Docusaurus community plugins.

repo: https://github.com/portdeveloper/docusaurus-plugin-copy-page-button
npm: https://www.npmjs.com/package/docusaurus-plugin-copy-page-button
demo: https://portdeveloper.github.io/copy-page-button-showcase/

happy to adjust or close if not a fit

@vercel
Copy link
Copy Markdown

vercel Bot commented May 16, 2026

@portdeveloper is attempting to deploy a commit to the Uniswap Team on Vercel.

A member of the Team first needs to authorize it.

@portdeveloper
Copy link
Copy Markdown
Author

Friendly bump — happy to revise or close this if it is not a fit. The only red check I can see is the Vercel preview authorization, which needs a Uniswap team member; the security/static checks are green.

@portdeveloper
Copy link
Copy Markdown
Author

Quick note: I used my agents to help generate this PR. Feel free to tag me (@portdeveloper) in this thread with any questions and I'll reply asap 🙏

@portdeveloper
Copy link
Copy Markdown
Author

Friendly nudge on this PR — happy to address any feedback if it'd help land it. The plugin recently shipped on facebook/react-native-website#5085 and continues to see adoption. Thanks for your time!

@socket-security
Copy link
Copy Markdown

Review the following changes in direct dependencies. Learn more about Socket for GitHub.

Diff Package Supply Chain
Security
Vulnerability Quality Maintenance License
Addeddocusaurus-plugin-copy-page-button@​0.8.07710010096100

View full report

@socket-security
Copy link
Copy Markdown

Warning

Review the following alerts detected in dependencies.

According to your organization's Security Policy, it is recommended to resolve "Warn" alerts. Learn more about Socket for GitHub.

Action Severity Alert  (click "▶" to expand/collapse)
Warn Low
Filesystem access: npm docusaurus-plugin-copy-page-button with module fs

Module: fs

Location: Package overview

From: package.jsonnpm/docusaurus-plugin-copy-page-button@0.8.0

ℹ Read more on: This package | This alert | What is filesystem access?

Next steps: Take a moment to review the security alert above. Review the linked package source code to understand the potential risk. Ensure the package is not malicious before proceeding. If you're unsure how to proceed, reach out to your security team or ask the Socket team for help at support@socket.dev.

Suggestion: If a package must read the file system, clarify what it will read and ensure it reads only what it claims to. If appropriate, packages can leave file system access to consumers and operate on data passed to it instead.

Mark the package as acceptable risk. To ignore this alert only in this pull request, reply with the comment @SocketSecurity ignore npm/docusaurus-plugin-copy-page-button@0.8.0. You can also ignore all packages with @SocketSecurity ignore-all. To ignore an alert for all future pull requests, use Socket's Dashboard to change the triage state of this alert.

View full report

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant